<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="../js/vue.js"></script>
</head>

<body>

    <!--准备好一个容器-->
    <div id="root">
        <h1>Hello, {{name}}, {{address}}</h1>
    </div>


    <script type="text/javascript">
        Vue.config.productionTip = false; //阻止 vue 在启动时生成产生提示

        new Vue({
            el: '#root',
            data: {
                name: '哈哈哈',
                address: '156040'
            }
        })
    </script>
</body>

</html>